package com.sh.data.engine.application.model.dto.datadev;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author : fuchen
 * @date : 2021/6/8 16:45
 */

@Data
@Schema
public class FlinkResourceResponse {

    @Schema(description = "主键id")
    private Long id;

    /**
     * 节点id
     */
    @Schema(description = "节点ID")
    private Long nodeId;

    @Schema(description = "路径")
    private String path;

    @Schema(description = "资源名称")
    private String resourceName;

    @Schema(description = "文件名称")
    private String fileName;

    @Schema
    private String fileDownloadUrl;

    /**
     * 发布状态 0-未发布 1-发布
     */
    @Schema(description = "0-未发布 1-已发布")
    private Integer isPublished;

    @Schema(description = "责任人")
    private String userName;

    @Schema(description = "修改人")
    private String modifyUser;

    @Schema(description = "修改人Id")
    private Long modifyUserId;

    @Schema(description = "上传时间")
    private Date publishTime;

    @Schema(description = "描述")
    private String remark;

    @Schema(description = "1-当前版本 2-之前版本")
    private Integer isActive;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

}
